﻿namespace EduFormManager.Models
{
    public class DocumentFormat : Entity
    {
        public virtual string Name { get; set; }
        //public virtual ISet<EduFormData> FormDatas { get; set; }
        public virtual bool IsOpenXml
        {
            get
            {
                return this.Name.Equals("xlsx") || this.Name.Equals("OpenXml");
            }
        }
    }
}
